package com.jzlin.funhub.admin.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.jzlin.funhub.framework.core.db.BaseEntity;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 文件存储表
 * </p>
 *
 * @author jzlin
 * @since 2025-08-10
 */
@Getter
@Setter
@TableName(value = "file_storage", autoResultMap = true)
public class FileStorage extends BaseEntity {

    private static final long serialVersionUID = 1L;
    /**
     * 文件原始名称
     */
    private String originalFilename;
    /**
     * 文件后缀
     */
    private String fileExtension;
    /**
     * 存储路径
     */
    private String storagePath;
    /**
     * 文件大小
     */
    private Long fileSize;
    /**
     * 存储策略
     */
    private String strategy;
    /**
     * 文件id
     */
    private String fileId;
}
